
#ifndef _CHAT_MODULE_H_
#define _CHAT_MODULE_H_

#include "../share/common_singleton.h"
#include "../share/jsonmessage.h"
#include "Player.h"

class CChatModule :public common::CSingleton<CChatModule>
{
public:
	CChatModule() {}
	~CChatModule() {}
public:
	void Initialize();
public:
	static void SPlayerChangedInGuildNotify(Player& player, const CJsonMessageBase& msg);
	static void SLoginChatSrvReq(Player& player, const CJsonMessageBase& msg);
	static void SGuildChangedNotify(Player& player, const CJsonMessageBase& msg);
	static void SChatToFriendMessageReq(Player& player, const CJsonMessageBase& msg);
	static void SChatRecordReq(Player& player, const CJsonMessageBase& msg);
	static void SChatMessageReq(Player& player, const CJsonMessageBase& msg);
};

#endif